package com.qf.usermanageradmin.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class User {

    private Integer id;
    private String username;
    private String password;
    private String avatar;
    private String phone;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    private Double money;
    private Integer sex;
}